import { formatValue } from 'utils/share';
import {
  ONSTATUS
} from 'configs/constants';

export default [
  {
    title: '设备名称',
    dataIndex: 'name',
    width: 280,
    render: (value) => formatValue(value)
  },
  {
    title: '状态',
    dataIndex: 'onlineStatus',
    render: (value) => formatValue(ONSTATUS[value])
  }
];
